DiagnosticReport System API - Implementation Template (US Core)
Custom object creation
DiagnosticReport
To create a custom object in Health Cloud (DiagnosticReport):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
- Click Setup.
- From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
- In the upper right corner, click the Create dropdown and then select 'Custom Object'.
- Set the following:
- Label: Diagnostic Report
- Plural Label: Diagnostic Reports
- Object Name: HealthcareAccelerator_DiagnosticReport
- Description: Custom DiagnosticReport object
- Record Name: Name
- Data Type: Text
- Deployment Status: In Development (Recommended when setting up; set to Deployed once ready to use.)
- Click Save.
- In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
Field Label | Field Name | Data Type |
---|---|---|
Source System Id | SourceSystemId__c | Text(255) |
Status | Status__c | Text(255) |
Category Code | CategoryCode__c | Text(255) |
Category Display | CategoryDisplay__c | Text(255) |
Category System | CategorySystem__c | Text(255) |
Code Code | CodeCode__c | Text(255) |
Code Display | CodeDisplay__c | Text(255) |
Code System | CodeSystem__c | Text(255) |
Subject | Subject__c | Lookup(EHR Patient) |
Encounter | Encounter__c | Lookup(EHR Encounter) |
Effective Start Date | EffectiveStartDate__c | Date/Time |
Effective End Date | EffectiveEndDate__c | Date/Time |
Issued | Issued__c | Date/Time |
Performer | Performer__c | Lookup(EHR Practitioner) |
Result | Result__c | Lookup(EHR Observation) |
Conclusion | Conclusion__c | Text(255) |
Coded Diagnostic Code | CodedDiagnosisCode__c | Text(255) |
Coded Diagnostic Display | CodedDiagnosisDisplay__c | Text(255) |
Coded Diagnostic System | CodedDiagnosisSystem__c | Text(255) |
Presented Form | PresentedForm__c | Lookup(Attachment) |
Attachment
To create a custom object in Health Cloud (Attachment):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
- Click Setup.
- From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
- In the upper right corner, click the Create dropdown and then select 'Custom Object'.
- Set the following:
- Label: Attachment
- Plural Label: Attachments
- Object Name: Attachment__c
- Description: Attachment object
- Record Name: Attachment Name
- Data Type: Text
- Deployment Status: In Development (Recommended when setting up; set to Deployed once ready to use.)
- Click Save.
- In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
Field Label | Field Name | Data Type |
---|---|---|
Content Type | ContentType__c | Text(255) |
Creation | Creation__c | Date/Time |
Data | Data__c | Long Text Area(131072) |
Hash | Hash__c | Long Text Area(131072) |
Language | Language__c | Text(255) |
Size | Size__c | Number |
Title | Title__c | Text(255) |
Url | Url__c | Long Text Area(32768) |